package vboot.app.module.de.supp.main;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

//供应商附件---主记录OneToMany
@Entity
@Data
public class DeSuppAtt
{
    @Id
    @Column(length = 32)
    private String id;//主键

    @Column(length = 32)
    private String addre;//存储地址

    @Column(length = 128)
    private String pname;//文件前缀名

    @Column(length = 128)
    private String sname;//文件后缀名

    @Column(length = 16)
    private String zsize;//文件大小

    @Transient
    private String zimg;//图片缩略图

    @Column(length = 256)
    private String name;//文件全名

    @Column(length = 256)
    private String link;//文件链接地址

}
